package com.example.sendmessage.common;

import com.example.sendmessage.server.core.BasicProperties;

import java.io.IOException;

@FunctionalInterface
public interface Consumer {
    void handleDelivery(String consumerTag, BasicProperties basicProperties, byte body[]) throws MqException, IOException;
}
